﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RepositoryDefinition
{
    public interface IUserRepository
    {
        int GetUserCountByUsernameAndPassword(ForumDomainModels.User user);
        int GetUserCountByUsername(ForumDomainModels.User user);
        ForumDomainModels.User GetUserByUsernameAndPassword(ForumDomainModels.User user);
        void InsertUser(ForumDomainModels.User user);

        ForumDomainModels.User GetUserById(ForumDomainModels.User creatorPost);
    }
}
